package com.guocheng.modules.emp.model.dto;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.guocheng.base.BaseModel;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class EmpDTO extends BaseModel {

    private String name;        //姓名
    private String jobNumber;   //工号
    private Integer classesId;    //人员类别
    @TableField(exist = false)
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date startDate;     //入职日期
    @TableField(exist = false)
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date endDate;       //入职日期;
    private String number;      //证件号
}
